<template>
	<view>
		<swiper class="mobile-swiper" circular :autoplay="mobileSwiper.autoplay" :vertical="mobileSwiper.vertical"
			:interval="mobileSwiper.interval" :duration="mobileSwiper.duration">
			<swiper-item class="swiper-item" v-for="(item,index) in mobileList" :key="index">
				<text>{{item.mobile}}</text>
				<text>{{item.tip}}</text>
				<text>{{item.time}}</text>
			</swiper-item>
		</swiper>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				mobileSwiper: {
					autoplay: true,
					interval: 3000,
					duration: 1000,
					vertical: true,
				},
				mobileList: [{
					mobile: '138****4845',
					tip: '0元领取立减金',
					time: '一分钟前'
				}, {
					mobile: '181****6012',
					tip: '0元领取立减金',
					time: '三分钟前'
				}, {
					mobile: '138****5023',
					tip: '0元领取立减金',
					time: '五分钟前'
				}]
			}
		}
	}
</script>

<style lang="scss" scoped>
	.mobile-swiper {
		height: 70rpx;
		background: #a3edcd;
		border-radius: 27rpx;
		border: 2px solid #FFFFFF;

		.swiper-item {
			display: flex;
			justify-content: space-between;
			align-items: center;
			padding: 0 34rpx;
			box-sizing: border-box;
			
			font-family: Source Han Sans CN;
			font-weight: 400;
			font-size: 22rpx;
			color: #0a6947;

		}
	}
</style>